<template>
<div class="father">
    <p>巴巴</p>
    <son :snname2='snname1'></son>
    </div>
</template>

<script>
import son from '@/components/son.vue'
export default {
  components: {
    son
  },
  data () {
    return {
      snname1: '没名字'
    }
  }

}
</script>

<style>

</style>
